package com.qs.sckill.config.redis.key;

import com.qs.sckill.config.redis.base.BasePrefix;

/**
 * 定义用户信息存储在redis的前缀及过期时间
 */
public class SckillOrderKey extends BasePrefix {

    public static final int SCKILL_ORDER_EXPIRE = 3 * 60;

    public SckillOrderKey(String prefix) {
        super(prefix);
    }

    public SckillOrderKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    //token存储在redis中前缀
    public static SckillOrderKey sckillOrder = new SckillOrderKey(SCKILL_ORDER_EXPIRE, "sckOrder");
}
